<!DOCTYPE html>
<html>
{% load zui %}
<head lang="zh-CN">
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    {#    <script src="{{ STATIC_URL }}javascript/mods/flexable.js"></script>#}
    {#    <script src="{{ STATIC_URL }}javascript/mods/flexable.js"></script>#}
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="renderer" content="webkit">
    <meta http-equiv="Cache-Control" content="no-siteapp"/>

    <title>{% block title %}{% endblock %}</title>
    <meta name="keywords" content="{% block media_keywords %}{% endblock %}">
    <meta name="description" content="{% block media_description %}{% endblock %}">

    <link rel="stylesheet" href="{{ STATIC_URL }}zui/css/zui.min.css">
    <link rel="stylesheet" href="{{ STATIC_URL }}css/travel.css">

    <!--[if lt IE 9]>
       <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
      <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->

    {% block css %}
    {% endblock %}
</head>
<body class="{% block body_css %}{% endblock %}">
<!--[if lt IE 8]>
        <div class="alert alert-danger">您正在使用 <strong>过时的</strong> 浏览器. 是时候 <a href="http://browsehappy.com/">更换一个更好的浏览器</a> 来提升用户体验.</div>
    <![endif]-->
{% block navbar %}
    <header class="navbar navbar-static-top top-nav">
        <div class="container">
            <div class="navbar-header">
                <a class="navbar-brand">
                    <img src="{{ STATIC_URL }}img/cont_logo.png">
                </a>
            </div>
        </div>
    </header>
{% endblock %}
{% block abstract %} {% endblock %}
<div class="container" id="id-main-container">
    {% block main %}

        <div class="col-sm-4 col-md-3 col-lg-2">
            <div class="list-group">
                {% block left %}{% endblock %}
            </div>

        </div>
        <div class="col-sm-8 col-md-9 col-lg-10">
            <ol class="breadcrumb">
                <li><i class="icon-home"></i></li>
                {% block nav_bar %}{% endblock %}
            </ol>
            {% block workarea %} {% endblock %}
        </div>
    {% endblock %}
</div>
</div>
{% block footer %}
{#    {% include 'footer.html' %}#}
{% endblock %}

<script src="{% zui_jquery_url %}"></script>
<script src="{% zui_javascript_url %}"></script>
<script src="{{ STATIC_URL }}javascript/lib/cookie.js"></script>
<script>
    $(document).ready(function () {
        $.ajaxSetup({
            crossDomain: false, // obviates need for sameOrigin test
            beforeSend: function (xhr, settings) {
                xhr.setRequestHeader("X-CSRFToken", $.cookie('csrftoken'));

            }
        });
    })
</script>
{% block js %}
{% endblock %}

</body>
</html>